//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.hafu.service;

import com.hafu.dao.GysInfoDao;
import com.hafu.model.GysInfo;
import java.util.ArrayList;

public class GysInfoService {
    private GysInfoDao gysInfoDao = new GysInfoDao();

    public GysInfoService() {
    }

    public Boolean addGysInfo(GysInfo gys) {
        return this.gysInfoDao.addGysInfo(gys);
    }

    public Boolean deleteGysInfo(int id) {
        return this.gysInfoDao.deleteGysInfo(id);
    }

    public ArrayList<GysInfo> getGysInfoByName(GysInfo gys) {
        return this.gysInfoDao.getGysInfoByName(gys);
    }

    public Boolean updateGysInfo(GysInfo gys) {
        return this.gysInfoDao.updateGysInfo(gys);
    }
}
